<div class="right_action_bar">
    <?php if(!$is_shop_user) : ?>
        <div class="bar_top">
            <a title="购物车" class="bar_car" href="/cart/list">
                <span><?php echo $cart_count; ?></span>
                <div>购物车<img src="/statics/images/bar.png"></div>
            </a>
            <a title="收藏夹" class="bar_cang" href="/favorite/list">
                <div>收藏夹<img src="/statics/images/bar.png"></div>
            </a>
            <a href="/user/download" class="bar_phone">
                <div>下载手机APP<img src="/statics/images/bar.png"></div>
            </a>
            <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2881601218&site=qq&menu=yes" class="bar_qq">
                <img border="0" src="/statics/images/qq_ico.png" alt="点击这里给我发消息" title="点击这里给我发消息"/>
                <div>客服<img src="/statics/images/bar.png"></div>
            </a>
        </div>
    <?php endif; ?>
    <div class="bar_bottom">
        <a title="返回顶部" class="top bar_bottom_icon" id="gotop">
            <div>回到顶部<img src="/statics/images/bar.png"></div>
        </a>
        <a title="意见反馈" class="bar_witer bar_bottom_icon" href="/leavemessage/add">
            <div>意见反馈<img src="/statics/images/bar.png"></div>
        </a>
    </div>
</div>
<script type="text/javascript">
    $(function () {   
        $("#gotop").click(function(){
            $(document.body).animate({'scrollTop':0},500);
        });
    });
</script>
